package org.asiaark.developerstudio.framework.servlet;

import javax.servlet.http.HttpServlet;

import org.apache.log4j.PropertyConfigurator;

/**
 * 公共Servlet类
 * 
 * @author WSF
 * 
 */
public class CommonServlet extends HttpServlet {

	public CommonServlet() {
		super();
		init();
	}

	public void init() {
		// 加载log4j配置
		PropertyConfigurator.configure(CommonServlet.class.getResource("/")
				.getPath() + "log4j.properties");
	}
}
